package com.entry;
//我的凭证表
import java.util.Date;

public class Voucher {
    private Integer voucher_id;//凭证表id
    private String no;//凭证编号
    private Double amount;//凭证金额
    private Integer enterprise_id;//所属企业id
    private Integer open_enterprise_id;//开单方id
    private Integer instituty_id;//金融机构id
    private Date open_time;//开单日期
    private Date expiry_time;//到期日期
    private String uplink_address;//上链地址
    private String source;//凭证来源
    private String status;//凭证状态
    private Integer source_id;//来源凭证id
    private String payment_interest_type;//付息方式



    public Voucher() {
    }

    public Voucher(Integer voucher_id, String no, Double amount, Integer enterprise_id, Integer open_enterprise_id, Integer instituty_id, Date open_time, Date expiry_time, String uplink_address, String source, String status, Integer source_id, String payment_interest_type) {
        this.voucher_id = voucher_id;
        this.no = no;
        this.amount = amount;
        this.enterprise_id = enterprise_id;
        this.open_enterprise_id = open_enterprise_id;
        this.instituty_id = instituty_id;
        this.open_time = open_time;
        this.expiry_time = expiry_time;
        this.uplink_address = uplink_address;
        this.source = source;
        this.status = status;
        this.source_id = source_id;
        this.payment_interest_type = payment_interest_type;
    }

    public Integer getVoucher_id() {
        return voucher_id;
    }

    public void setVoucher_id(Integer voucher_id) {
        this.voucher_id = voucher_id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(Integer enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public Integer getOpen_enterprise_id() {
        return open_enterprise_id;
    }

    public void setOpen_enterprise_id(Integer open_enterprise_id) {
        this.open_enterprise_id = open_enterprise_id;
    }

    public Integer getInstituty_id() {
        return instituty_id;
    }

    public void setInstituty_id(Integer instituty_id) {
        this.instituty_id = instituty_id;
    }

    public Date getOpen_time() {
        return open_time;
    }

    public void setOpen_time(Date open_time) {
        this.open_time = open_time;
    }

    public Date getExpiry_time() {
        return expiry_time;
    }

    public void setExpiry_time(Date expiry_time) {
        this.expiry_time = expiry_time;
    }

    public String getUplink_address() {
        return uplink_address;
    }

    public void setUplink_address(String uplink_address) {
        this.uplink_address = uplink_address;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSource_id() {
        return source_id;
    }

    public void setSource_id(Integer source_id) {
        this.source_id = source_id;
    }

    public String getPayment_interest_type() {
        return payment_interest_type;
    }

    public void setPayment_interest_type(String payment_interest_type) {
        this.payment_interest_type = payment_interest_type;
    }

    @Override
    public String toString() {
        return "Voucher{" +
                "voucher_id=" + voucher_id +
                ", no='" + no + '\'' +
                ", amount=" + amount +
                ", enterprise_id=" + enterprise_id +
                ", open_enterprise_id=" + open_enterprise_id +
                ", instituty_id=" + instituty_id +
                ", open_time=" + open_time +
                ", expiry_time=" + expiry_time +
                ", uplink_address='" + uplink_address + '\'' +
                ", source='" + source + '\'' +
                ", status='" + status + '\'' +
                ", source_id=" + source_id +
                ", payment_interest_type='" + payment_interest_type + '\'' +
                '}';
    }
}
